|
|
|
| Table 3.1. continued | | Control | Property | Setting | | VB.TextBox | Name | TxtAUID | | DataField | "AUID" | | DataSource | "dtaBookMarks" | | Height | 300 | | Left | 1440 | | Top | 180 | | Width | 1215 | | VB.Label | Name | LblName | | BorderStyle | 1 'Fixed Single | | Caption | "Author Name" | | Height | 300 | | Left | 120 | | Top | 600 | | Width | 1215 | | VB.Label | Name | LblAUID | | BorderStyle | 1 'Fixed Single | | Caption | "Author ID" | | Height | 300 | | Left | 120 | | Top | 180 | | Width | 1215 |
|
|
|
|
|
|
Refer to Figure 3.5 as a guide for sizing and locating the controls on the form. |
|
|
|
|
|
|
|
|
Figure 3.5.
Laying out the Bookmark
Demonstration form. |
|
|
|
|
|
|
|
|
When you have completed the form layout, add the following code behind the command button. The code in Listing 3.9 is a toggle routine that saves the current place in the table by reading (and storing) the Bookmark, or restores the previous place in the table by reading (and updating) the Bookmark. |
|
|
|
|
|